package com.daocao.hua.adapter;

import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;


import com.daocao.hua.R;
import com.daocao.hua.adapter.base.ItemAdapter;

import butterknife.ButterKnife;


/**
 * Created by xsooy-pc on 2017/10/23.
 */

public class CopyAdapter extends ItemAdapter<String, CopyAdapter.DefaultHolder> {

    public CopyAdapter(Context context) {
        super(context);
    }

    @Override
    public DefaultHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        return new DefaultHolder(inflate(R.layout.item_use_purpose, parent));
    }

    @Override
    public void onBindViewHolder(DefaultHolder holder, int position) {

    }

    class DefaultHolder extends RecyclerView.ViewHolder {

        public DefaultHolder(View itemView) {
            super(itemView);
            ButterKnife.bind(this, itemView);
        }
    }
}
